<include file="Layout/header" />
<body>
  <div class="breadcrumbs" id="breadcrumbs">
					<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">首页</a>
							</li>
							<li class="active">添加管理员</li>
						</ul>
</div>
<div class="page-content">
<ul id="myTab" class="nav nav-tabs">
  <li> <a href="{:U('Admin/Rule/admin_user_list')}">管理员列表</a></li>
  <li class="active"> <a href="{:U('Admin/Rule/add_admin')}">添加管理员</a></li>
</ul>

<form class="form-inline" method="post">
  <table class="table table-striped table-bordered table-hover table-condensed">
    <tr>
      <th>管理组</th>
      <td><foreach name="data" item="v"> {$v['title']}
          <input class="xb-icheck" type="checkbox" name="group_ids[]" value="{$v['id']}">
          &emsp;</foreach></td>
    </tr>
    <tr>
      <th>姓名</th>
      <td><input class="form-control" type="text" name="username"></td>
    </tr>
    <tr>
      <th>手机号</th>
      <td><input class="form-control" type="text" name="phone"></td>
    </tr>
    <tr>
      <th>邮箱</th>
      <td><input class="form-control" type="text" name="email"></td>
    </tr>
    <tr>
      <th>初始密码</th>
      <td><input class="form-control" type="text" name="password"></td>
    </tr>
    <tr>
      <th>状态</th>
      <td><span class="inputword">允许登录</span>
        <input class="xb-icheck" type="radio" name="status" value="1" checked="checked">
        &emsp; <span class="inputword">禁止登录</span>
        <input class="xb-icheck" type="radio" name="status" value="0"></td>
    </tr>
    <tr>
      <th></th>
      <td><input class="btn btn-success" type="submit" value="添加"></td>
    </tr>
  </table>
</form>
</div>
<include file="Layout/js"/>
<icheckjs color="blue"/>
</body>
</html>